Ext.define('DocMap.controller.DemoWindowController',{
	extend:'Ext.app.Controller',
	views : [ 'DemoWinow'],
	alias:'controller.demowindow',
	refs:[{
		ref:'demowindow',
		selector:'demowindow'
	}],
	init:function(){
		this.control({
			'demowindow button[id=helloId]':{
				click:this.onMeClick
			}
		});
	},
	onMeClick:function(c,r){
		alert("Hello");
	}
});
